<?php
	// 加载公共文件
	include_once('../public/config/sql.php');
	include_once('../public/config/config.php');

	// 实例化对象
	$obj = new sql($info);

	$sql = "select id,username,rank,state,link,intime from menu order by rank asc";

	$articleList = $obj->db_select($sql, true);

	$sql = "select id,username,state from article_classify order by rank asc";

	$heat = $obj->db_select($sql, true);

?>